package bis.srt.uvc.webservice;

public class UvcSoapForOcsServiceProxy implements bis.srt.uvc.webservice.UvcSoapForOcsService {
  private String _endpoint = null;
  private bis.srt.uvc.webservice.UvcSoapForOcsService uvcSoapForOcsService = null;
  
  public UvcSoapForOcsServiceProxy() {
    _initUvcSoapForOcsServiceProxy();
  }
  
  public UvcSoapForOcsServiceProxy(String endpoint) {
    _endpoint = endpoint;
    _initUvcSoapForOcsServiceProxy();
  }
  
  private void _initUvcSoapForOcsServiceProxy() {
    try {
      uvcSoapForOcsService = (new bis.srt.uvc.webservice.UvcSoapForOcsServiceServiceLocator()).getUvcSoapForOcsService();
      if (uvcSoapForOcsService != null) {
        if (_endpoint != null)
          ((javax.xml.rpc.Stub)uvcSoapForOcsService)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
        else
          _endpoint = (String)((javax.xml.rpc.Stub)uvcSoapForOcsService)._getProperty("javax.xml.rpc.service.endpoint.address");
      }
      
    }
    catch (javax.xml.rpc.ServiceException serviceException) {}
  }
  
  public String getEndpoint() {
    return _endpoint;
  }
  
  public void setEndpoint(String endpoint) {
    _endpoint = endpoint;
    if (uvcSoapForOcsService != null)
      ((javax.xml.rpc.Stub)uvcSoapForOcsService)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
    
  }
  
  public bis.srt.uvc.webservice.UvcSoapForOcsService getUvcSoapForOcsService() {
    if (uvcSoapForOcsService == null)
      _initUvcSoapForOcsServiceProxy();
    return uvcSoapForOcsService;
  }
  
  public ffcs.crm.bean.AuthenticationResponse authentication(ffcs.crm.bean.AuthenticationRequest in0) throws java.rmi.RemoteException{
    if (uvcSoapForOcsService == null)
      _initUvcSoapForOcsServiceProxy();
    return uvcSoapForOcsService.authentication(in0);
  }
  
  public com.ocs.client.RefundResponse refund(com.ocs.client.RefundRequest in0) throws java.rmi.RemoteException{
    if (uvcSoapForOcsService == null)
      _initUvcSoapForOcsServiceProxy();
    return uvcSoapForOcsService.refund(in0);
  }
  
  public com.ocs.client.RechargeResponse recharge(com.ocs.client.RechargeRequest in0) throws java.rmi.RemoteException{
    if (uvcSoapForOcsService == null)
      _initUvcSoapForOcsServiceProxy();
    return uvcSoapForOcsService.recharge(in0);
  }
  
  public com.ocs.client.AccountQueryResponse accountQuery(com.ocs.client.AccountQueryRequest in0) throws java.rmi.RemoteException{
    if (uvcSoapForOcsService == null)
      _initUvcSoapForOcsServiceProxy();
    return uvcSoapForOcsService.accountQuery(in0);
  }
  
  public com.ocs.client.QueryUserResponse queryUserData(com.ocs.client.QueryUserRequest in0) throws java.rmi.RemoteException{
    if (uvcSoapForOcsService == null)
      _initUvcSoapForOcsServiceProxy();
    return uvcSoapForOcsService.queryUserData(in0);
  }
  
  public com.ocs.client.QueryInfoResp queryFillRecord(com.ocs.client.QueryInfoReq in0) throws java.rmi.RemoteException{
    if (uvcSoapForOcsService == null)
      _initUvcSoapForOcsServiceProxy();
    return uvcSoapForOcsService.queryFillRecord(in0);
  }
  
  public com.ocs.client.QueryShortMessageInfoResp queryShortMessageInfo(com.ocs.client.QueryShortMessageInfoReq in0) throws java.rmi.RemoteException{
    if (uvcSoapForOcsService == null)
      _initUvcSoapForOcsServiceProxy();
    return uvcSoapForOcsService.queryShortMessageInfo(in0);
  }
  
  public com.ocs.client.QueryServInfoResp queryServInfo(com.ocs.client.QueryServInfoReq in0) throws java.rmi.RemoteException{
    if (uvcSoapForOcsService == null)
      _initUvcSoapForOcsServiceProxy();
    return uvcSoapForOcsService.queryServInfo(in0);
  }
  
  public com.ocs.client.CyclesQueryResponse cyclesQuery(com.ocs.client.CyclesQueryRequest in0) throws java.rmi.RemoteException{
    if (uvcSoapForOcsService == null)
      _initUvcSoapForOcsServiceProxy();
    return uvcSoapForOcsService.cyclesQuery(in0);
  }
  
  public com.ocs.client.CyclesRenewResponse cyclesRenew(com.ocs.client.CyclesRenewRequest in0) throws java.rmi.RemoteException{
    if (uvcSoapForOcsService == null)
      _initUvcSoapForOcsServiceProxy();
    return uvcSoapForOcsService.cyclesRenew(in0);
  }
  
  public com.ocs.client.SubBlockUpResponse subBlockUp(com.ocs.client.SubBlockUpRequest in0) throws java.rmi.RemoteException{
    if (uvcSoapForOcsService == null)
      _initUvcSoapForOcsServiceProxy();
    return uvcSoapForOcsService.subBlockUp(in0);
  }
  
  public com.ocs.client.ImmunityMngResponse servProductImmunityMng(com.ocs.client.ImmunityMngRequest in0) throws java.rmi.RemoteException{
    if (uvcSoapForOcsService == null)
      _initUvcSoapForOcsServiceProxy();
    return uvcSoapForOcsService.servProductImmunityMng(in0);
  }
  
  
}